package com.itheima.sh.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.sh.dto.HotelDto;
import com.itheima.sh.dto.Resp;
import com.itheima.sh.pojo.TbHotel;

import java.util.List;

public interface HotelService extends IService<TbHotel> {

    List<TbHotel> queryPageAndSize(Integer page, Integer size) ;

    Boolean deleteById(Integer id);

    Boolean updateHotel(HotelDto hotelDto);

    Boolean saveHotel(HotelDto hotelDto);
}
